package org.comple.erp.pojo.procurement;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName procurement_comparison_main
 */
@Getter
@Setter
@EqualsAndHashCode
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
public class ProcurementComparisonMain implements Serializable {
    /**
     * 
     */
    @ExcelIgnore
    private String comparison_id;

    /**
     * 
     */
    @ExcelProperty("比价编号")
    private String comparison_code;

    /**
     * 
     */
    @ExcelIgnore
    private String buyer_id;


    @ExcelProperty("比价人")
    private String buyer_name;

    /**
     * 
     */
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ColumnWidth(50)
    @ExcelProperty("比价开始时间")
    private Date start_date;

    /**
     * 
     */
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ColumnWidth(50)
    @ExcelProperty("比价结束时间")
    private Date end_date;


    @ExcelIgnore
    private Date audit_date;

    /**
     * 
     */
    @ExcelProperty("备注")
    private String remark;

    /**
     * 
     */
    @ExcelProperty("公司编号")
    private String companyCode;

    @ExcelIgnore
    private String checkMan;

    /**
     * 
     */
    @ColumnWidth(80)
    @ExcelProperty("比价状态 1-已保存 2-待审核 3-已审核 4-已驳回")
    private Integer comparison_status;

    /**
     * 
     */
    @ColumnWidth(80)
    @ExcelProperty("是否删除 0-未删除 1-已删除")
    private Integer isDelete;

    @ColumnWidth(60)
    @ExcelProperty("有效期 1-未过期 2-已过期")
    private Integer date_status;

    @ExcelIgnore
    private List<ProcurementComparisonDetail> comparisonDetailList;

    @ExcelIgnore
    private String goods_code;

    @ExcelIgnore
    private String goods_id;

    @ExcelIgnore
    private String supplier_code;

    @ExcelIgnore
    private BigDecimal supply_price;

    @ExcelIgnore
    private BigDecimal supply_tax;

    @ExcelIgnore
    private String goods_name;

    @ExcelIgnore
    private String supplier_name;

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getComparison_id() {
        return comparison_id;
    }

    /**
     * 
     */
    public void setComparison_id(String comparison_id) {
        this.comparison_id = comparison_id;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    /**
     * 
     */
    public String getComparison_code() {
        return comparison_code;
    }

    /**
     * 
     */
    public void setComparison_code(String comparison_code) {
        this.comparison_code = comparison_code;
    }

    /**
     * 
     */
    public String getBuyer_id() {
        return buyer_id;
    }

    public void setBuyer_id(String buyer_id) {
        this.buyer_id = buyer_id;
    }

    public String getBuyer_name() {
        return buyer_name;
    }

    public void setBuyer_name(String buyer_name) {
        this.buyer_name = buyer_name;
    }

    public String getCheckMan() {
        return checkMan;
    }

    public void setCheckMan(String checkMan) {
        this.checkMan = checkMan;
    }

    /**
     * 
     */
    public Date getStart_date() {
        return start_date;
    }

    /**
     * 
     */
    public void setStart_date(Date start_date) {
        this.start_date = start_date;
    }

    /**
     * 
     */
    public Date getEnd_date() {
        return end_date;
    }

    /**
     * 
     */
    public void setEnd_date(Date end_date) {
        this.end_date = end_date;
    }

    /**
     * 
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 
     */
    public String getCompanyCode() {
        return companyCode;
    }

    /**
     * 
     */
    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    /**
     * 
     */
    public Integer getComparison_status() {
        return comparison_status;
    }

    /**
     * 
     */
    public void setComparison_status(Integer comparison_status) {
        this.comparison_status = comparison_status;
    }

    /**
     * 
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getDate_status() {
        return date_status;
    }

    public void setDate_status(Integer date_status) {
        this.date_status = date_status;
    }

    public List<ProcurementComparisonDetail> getComparisonDetailList() {
        return comparisonDetailList;
    }

    public void setComparisonDetailList(List<ProcurementComparisonDetail> comparisonDetailList) {
        this.comparisonDetailList = comparisonDetailList;
    }

    public String getGoods_code() {
        return goods_code;
    }

    public void setGoods_code(String goods_code) {
        this.goods_code = goods_code;
    }

    public String getSupplier_code() {
        return supplier_code;
    }

    public void setSupplier_code(String supplier_code) {
        this.supplier_code = supplier_code;
    }

    public BigDecimal getSupply_price() {
        return supply_price;
    }

    public void setSupply_price(BigDecimal supply_price) {
        this.supply_price = supply_price;
    }

    public BigDecimal getSupply_tax() {
        return supply_tax;
    }

    public void setSupply_tax(BigDecimal supply_tax) {
        this.supply_tax = supply_tax;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getSupplier_name() {
        return supplier_name;
    }

    public void setSupplier_name(String supplier_name) {
        this.supplier_name = supplier_name;
    }

    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }
}